<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>26_运算符的优先级.html</title>
    <script type="text/javascript">

        /*
            按优先级运算表进行计算
        */

        /*
            &&比||的优先级高
        */
        var result = 1 || 2 && 3;
        console.log(result);

    </script>
</head>
<body>
    
    <h1>运算符的优先级列表如下：</h1>
    <img width="360px" src="imgs/26.png" alt="运算符的优先级列表">

</body>
</html>